﻿@model Pescar2013Shop_MaruMati.Controllers.Producto

@{
    ViewBag.Title = "Administración";
}
<html><head><title>@ViewBag.Title</title></head><body>
<h2>Detalles</h2>

<fieldset>
    <legend>Producto</legend>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Nombre)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Nombre)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Modelo)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Modelo)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Precio)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Precio)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Descripcion)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Descripcion)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Url)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Url)
    </div>

    <h4>Marca</h4>
     <div class="display-label">
         @Html.DisplayNameFor(model => model.Marca.nombre)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Marca.nombre)
    </div>
    <div class="display-label">
         @Html.DisplayNameFor(model => model.Marca.descripcion)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Marca.descripcion)
    </div>
    <div class="display-label">
         @Html.DisplayNameFor(model => model.Marca.foto)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Marca.foto)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Editar", "Edit", new { id=Model.id }) |
    @Html.ActionLink("Volver", "Index")
</p>
    </body></html>